<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p1_CSS的三种位置</title>
    <link rel="stylesheet" href="p1.css">
</head>
<style>
    p{
        color: red;
        background-color: yellow;
    }
    h4{
        border: 3px solid red;
    }
</style>
<body>
    <h4 style="color: red;background-color: yellow">我是标题</h4>
    <h4>我是标题</h4>

    <p>我是段落</p>
    <p>我是段落</p>
    <p>我是段落</p>
    <p>我是段落</p>

    <div>我是div</div>
    <div>我是div</div>
    <div>我是div</div>
</body>
</html>